#ifndef NAPI_BASE_CONTEXT_H
#define NAPI_BASE_CONTEXT_H

#include <node_api.h>

struct BaseContext {
    napi_async_work work = nullptr;
    napi_deferred deferred = nullptr;
    napi_ref callbackRef = nullptr;
    bool resolved = false;
};
#endif // BASE_CONTEXT_H